package com.hhq.Dao;

import com.hhq.entity.User;

import java.util.List;

public interface UserDao {
    public List<User> getAllUser();

    public List<User> findUserByName(String loginname);

    public boolean checkAdminLogin(User user);
    public int addUser(User user);

    public void deleteUser(String name);

    public int updateUser(User user);


}
